package net.handler;

import java.util.Observable;

import net.im.IMMessagePacket;

public class AccepHandler extends Observable {
	private static final AccepHandler pdp = new AccepHandler();
	private IMMessagePacket meg;

	public static AccepHandler getAccepHandler() {
		return pdp;
	}

	public IMMessagePacket getData() {
		return meg;
	}

	public void setPushData(IMMessagePacket meg) {
		this.meg = meg;
		dataChange();
	}

	private void dataChange() {
		setChanged();
		notifyObservers();
	}
}
